Carbon


IsControlActive

Header: Controls.h Carbon status: Supported

Returns whether a control is active.

Boolean IsControlActive (
    ControlRef inControl
);
Parameter descriptions
inControl

A handle to the control to be examined.

function result

If true, the control is active. If false, the control is inactive.

DISCUSSION

If you wish to determine whether a control is active, you should call IsControlActive instead of testing the contrlHilite field of the control structure.

VERSION NOTES

This function is available with Appearance Manager 1.0 and later.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)